﻿using UnityEngine;
using TinyFrameWork;

public class UIReddot : MonoBehaviour
{
    private const string REDDOT = "reddot";
    private UISprite reddotSprite;
    public UISprite RedDot
    {
        get
        {
            if(reddotSprite == null)
                reddotSprite = GameUtility.FindDeepChild<UISprite>(gameObject, REDDOT);
            return reddotSprite;
        }
    }
}
